﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommandPattern
{
    /// <summary>
    /// 抽象接受者，命令传递到这里应该被执行的
    /// </summary>
    abstract class Receiver
    {
        /// <summary>
        /// 定义每个接收者都必须完成的业务
        /// </summary>
        public abstract void DoSomething();
    }
}
